﻿/**********************************弘石项目*******************************************
* 功能描述:项目管理
* 作者:石锦涛
* 时间:2021-12-7
* 
**********************************弘石项目*******************************************/
using HongStone.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Ince.IClient
{
    /// <summary>
    /// 运营
    /// </summary>
    public interface ICOperation
    {
        /// <summary>
        /// 字典显示
        /// </summary>
        /// <returns></returns>
        ResultData Showdictionaries();

        /// <summary>
        /// 合同关联
        /// </summary>
        ResultData ShowContract(out int totalCount, string cname, int pageindex = 1, int pagesize = 5);

        /// <summary>
        /// 承接部门
        /// </summary>
        /// <returns></returns>
        ResultData ShowCJSection(out int totalCount, int pageindex = 1, int pagesize = 5);

        /// <summary>
        /// 甲方负责人
        /// </summary>
        /// <returns></returns>
        ResultData ShowFirstParty(out int totalCount, string xname, string bumen, string phone, int pageindex = 1, int pagesize = 5);
        /// <summary>
        /// 执行设总
        /// </summary>
        /// <returns></returns>
        ResultData ShowSZExecute(out int totalCount, string zname, int bumen, string phone, int pageindex = 1, int pagesize = 5);

        /// <summary>
        /// 显示项目信息
        /// </summary>

        ResultData ShowProject(out int totalCount, int? bumen, string? xmName, int? jsClass, decimal? jsgm, decimal? jsgms, string? jsdanwei, string? jgxs, string? jzflei, string? zxsez, string? jiafz, decimal? hte, decimal? htes, string? didian, int? xinzhi, int? laiyuan, DateTime? begtime, DateTime? begtimes, DateTime? endtime, DateTime? endtimes, int pageindex = 1, int pagesize = 10);

        /// <summary>
        /// 查看详情
        /// </summary>
        ResultData  BianJi(int id);
        /// <summary>
        /// 详情导出
        /// </summary>
        /// <param name="idc"></param>
        /// <returns></returns>
        ResultData DaochuXQ(int idc);

        /// <summary>
        /// 显示项目关联合同
        /// </summary>
         ResultData  ShowContractLinkage(out int totalCount, int? bumen, string xmName, DateTime? rtime, DateTime? endtime, int pageindex = 1, int pagesize = 10);
        /// <summary>
        /// 项目进度统计
        /// </summary>
        ResultData ShowSchedule(out int totalCount, int? bumen, string xmName, int pageindex = 1, int pagesize = 10);
    }
}
